package net.qiqb.subclass;

import lombok.Getter;
import lombok.Setter;
import net.qiqb.core.domain.annotation.AggregateRoot;

@AggregateRoot
public class OrderDto implements TestMark {
    @Getter
    private final String id;

    @Setter
    private String no;

    public OrderDto(String id) {
        this.id = id;
    }

    public static OrderDto newInstance(String id){
        return new OrderDto(id);
    }
}
